﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using PX.File;
public partial class Content : System.Web.UI.Page
{
	
	private FileComponent clsFileComp = new FileComponent();

	protected void Page_Load(object sender, EventArgs e)
	{
		int nFileID = 0;

		try
		{
			nFileID = Convert.ToInt32(Request.QueryString["FileID"].ToString());
		}
		catch (Exception ex)
		{
			Common.ShowMessageAlert.ShowMessage(Page, "没有文件ID！");
			nFileID = 62;
		}

		idContent.Attributes.Add("src", "ShowFile.aspx?FileID=" + nFileID.ToString());
		idContent.Attributes.Add("onload", "iFrameHeight('" + idContent.ClientID.ToString() + "')");
	}
}
